package org.dromara.tearoom.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.tearoom.domain.TerImgInfo;

import java.util.Date;

/**
 * 贴图管理业务对象 ter_img_info
 *
 * @author xch
 * @date 2025-05-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerImgInfo.class, reverseConvertGenerate = false)
public class TerImgInfoBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    private String  name;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 地址
     */
    private String path;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 当前时间
     */
    private Date nowDate;

    /**
     * 排序号
     */
    private Long orderNo;

    /**
     * 图片类型
     */
    private Long imgType;

    /**
     * 图片url
     */
    private String imgUrl;

    /**
     * 关联标识
     */
    private String assoId;

    /**
     * 模块
     */
    private String module;

    private String delFlag;

}
